<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加微圈</title>
    <link rel="stylesheet" href="/css/MicroCircle/micro-circle-add.css">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <link rel="stylesheet" href="/ztree/css/metroStyle.css">
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <script src="/ztree/js/jquery.ztree.core.min.js"></script>
    <script src="/ztree/js/jquery.ztree.excheck.min.js"></script>
</head>
<body>
<div id="box">
    <div id="box-top">
        <div class="layui-row" >
            <div class="layui-elem-quote">
                <span style="font-size: 18px">添加微圈</span>
                <div style="float: right;margin-top: -10px">
                    <button class="layui-btn" onclick="goBack()"><i class="layui-icon layui-icon-left"></i>返回</button>
                </div>
            </div>
        </div>
    </div>
    <div id="box-body">
        <div id="box-body-body">
            <form class="layui-form" id="form" lay-filter="form">
                <input type="hidden" name="userId" value="">
                <input type="hidden" name="details" value="2">
                <div class="layui-form-item">
                    <div class="layui-block">
                        <label class="layui-form-label">内容类型: </label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input-inline" name="artcleCategroyName" disabled="disabled"/>
                            <input type="hidden" name="artcleCategroyName">
                            <input type="hidden" name="acticleCategroyId">
                            <a href="javascript:findType();"><img src="/images/icon1.gif"/></a>
                        </div>

                    </div>
                    <div id="sort" style="display: none" class="layui-block">
                        <div class="layui-input-block">
                            <p style="color: #CDCDCF">你当前选择的商品类型是：<span id="type" style="color:#da3553;"></span></p>
                        </div>
                    </div>
                    <div class="layui-block">
                        <label class="layui-form-label">微圈标题: </label>
                        <div class="layui-input-block">
                            <input type="text" class="layui-input-inline" name="artcleTitle"/>
                        </div>
                    </div>
                    <div class="layui-block">
                        <label class="layui-form-label">微圈图片: </label>
                        <div class="layui-input-block">
                            <form enctype="multipart/form-data">
                                <button type="button" id="test" class="layui-btn">上传图片</button>
                                <input type="text" class="layui-hide" name="artcleUrl"/>
                            </form>
                        </div>
                    </div>
                    <div class="layui-block" id="images" style="display: none;">
                        <label class="layui-form-label">预览图片: </label>
                        <div class="layui-upload-list" id="image" style="margin-left: 110px;width: 300px">

                        </div>
                    </div>
                    <div class="layui-block">
                        <textarea id="demo" name="article" class="layui-textarea" style="display: none;"></textarea>
                    </div>
                </div>
                <div id="box-body-dy">
                    <button type="button" class="layui-btn">保存草稿</button>
                    <button type="submit" class="layui-btn" lay-submit lay-filter="sub">发布文章</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<script src="/js/MicroCircle/micro-circle-add.js"></script>
</html>